import java.util.Scanner;

public class Branch {
    public static void main(String[] args) {

        //if
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入一个整数表示小明的成绩");
        int score = sc.nextInt();

        //0-100才是正常数据
        if (score > 0 && score <= 100) {
            if (score >= 95 && score <= 100) {
                System.out.println(("奖励1000"));
            } else if (score >= 90 && score <= 95) {
                System.out.println(("游乐场玩一天"));
            } else if (score >= 85 && score <= 90) {
                System.out.println(("奖励10"));
            } else {
                System.out.println(("揍一顿"));
            }
        } else {
            System.out.println("当前成绩不合法");
        }

        System.out.println("---------------------------");

        //swich
        Scanner sc1 = new Scanner(System.in);
        System.out.println("请输入一个星期数");
        int day = sc1.nextInt();

        //穿透和简化
        switch(day) {
            case 1, 2, 3, 4, 5 -> System.out.println("工作日");
            case 6, 7 -> System.out.println("休息日");
            default -> System.out.println("没有这个星期");
        }
    }
}
